Microsoft DirectX 8.1 (C++)

IVPBaseConfig::SetSurfaceParameters

The SetSurfaceParameters method tells the capture driver about the surface created on its behalf by the Overlay Mixer or VBI surface filter.

Syntax

HRESULT SetSurfaceParameters(
  DWORD dwPitch,
  DWORD dwXOrigin,
  DWORD dwYOrigin
) PURE;

Parameters

dwPitch

[in] Pitch of the surface. Distance (or pitch) in pixels between the start pixels of two consecutive lines of the surface.

dwXOrigin

[in] X-value of the pixel at which valid data starts.

dwYOrigin

[in] Y-value of the pixel at which valid data starts.

Return Values

Returns an HRESULT value that depends on the implementation of the interface. The current default implementation returns S_OK if the call completed successfully, or E_NOTIMPL if the method is not implemented.

See Also